package org.itboys.fuzion.entity;

import org.itboys.fuzion.constant.FuzionConstants;
import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 积分等级的定义
 * @author weisky
 *
 * 2016年4月15日
 */
@Entity(value = "ScoreLevel", noClassnameStored = true)
public class ScoreLevel extends BaseLongIdEntity{

	private static final long serialVersionUID = 3937578706015696370L;

	private Integer startScore;//起始积分
	private Integer endScore;//结束积分
	private String levelName;//积分等级名称
	private Integer percent = FuzionConstants.TYPE_ZERO;//会员等级对应的可提现百分数   没有小数点   勤人类百分比
	private Integer dawdler = FuzionConstants.TYPE_ZERO;//懒人收益百分比
	private Integer hardworking = FuzionConstants.TYPE_ZERO;//勤人收益百分比
	private Integer otherPercent = FuzionConstants.TYPE_ZERO;
	private Integer peopleNum = -1;//控制每日分红的人数  -1:表示不控制  0:表示不分红
	private Integer nowPeopleNum;//现在在这个等级下的会员人数
	@Indexed
	private Long sellerId;
	
	@NotSaved
	private String sellerName;//店铺名称
	@NotSaved
	private Integer realPeopleNum;//当前系统 真实的会员数

	public Integer getHardworking() {
		return hardworking;
	}
	public void setHardworking(Integer hardworking) {
		this.hardworking = hardworking;
	}
	public Integer getDawdler() {
		return dawdler;
	}
	public void setDawdler(Integer dawdler) {
		this.dawdler = dawdler;
	}
	public Integer getOtherPercent() {
		return otherPercent;
	}
	public void setOtherPercent(Integer otherPercent) {
		this.otherPercent = otherPercent;
	}
	public Integer getRealPeopleNum() {
		return realPeopleNum;
	}
	public void setRealPeopleNum(Integer realPeopleNum) {
		this.realPeopleNum = realPeopleNum;
	}
	public Integer getNowPeopleNum() {
		return nowPeopleNum;
	}
	public void setNowPeopleNum(Integer nowPeopleNum) {
		this.nowPeopleNum = nowPeopleNum;
	}
	public Integer getPeopleNum() {
		return peopleNum;
	}
	public void setPeopleNum(Integer peopleNum) {
		this.peopleNum = peopleNum;
	}
	public Integer getPercent() {
		return percent;
	}
	public void setPercent(Integer percent) {
		this.percent = percent;
	}
	public String getSellerName() {
		return sellerName;
	}
	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	public Integer getStartScore() {
		return startScore;
	}
	public void setStartScore(Integer startScore) {
		this.startScore = startScore;
	}
	public Integer getEndScore() {
		return endScore;
	}
	public void setEndScore(Integer endScore) {
		this.endScore = endScore;
	}
	public String getLevelName() {
		return levelName;
	}
	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}
	public Long getSellerId() {
		return sellerId;
	}
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}
	
}
